<form id="app-form" class="layui-form layuimini-form">

    <div class="layui-form-item">
        <label class="layui-form-label">短信验证码</label>
        <div class="layui-input-block">
            <input type="radio" name="smsverifycode" value="0" title="关闭" {if  sysconfig('company','smsverifycode')==0 }checked=""{/if}>
            <input type="radio" name="smsverifycode" value="1" title="开启" {if  sysconfig('company','smsverifycode')==1 }checked=""{/if}>

            <tip>开启后，小程序绑定手机号时要短信验证码。短信验证码需要开通微擎的验证码功能。</tip>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">菜单导航</label>
        <div class="layui-input-block">
            <input type="radio" name="openIndexMenus" value="0" title="关闭" {if  sysconfig('company','openIndexMenus')==0 }checked=""{/if}>
            <input type="radio" name="openIndexMenus" value="1" title="开启" {if  sysconfig('company','openIndexMenus')==1 }checked=""{/if}>

            <tip>开启后，小程序首页的幻灯片下导航菜单采用自定义的菜单项目，必须要在“菜单导航”管理添加菜单。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">注册成功</label>
        <div class="layui-input-block">
            <textarea name="welcome_msg" class="layui-textarea" >{:sysconfig('company','welcome_msg')}</textarea>
            <tip>注册成功时发送给用户的站内消息。例如  恭喜您{user}，注册成为本小程序会员，您拥有本小程序所有功能使用权限。</tip>
        </div>
    </div>


    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="knscy.company/save" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>

</form>